package net.ericaro.neojavagen.blocks ;
import net.ericaro.neojavagen.blocks.StatementNoShortIf;
import net.ericaro.neojavagen.expressions.Expression ;

/**
* *<pre> WhileStatementNoShortIf :
    while ( Expression ) StatementNoShortIf
</pre>
*/
public class WhileStatementNoShortIf  implements StatementNoShortIf {

Expression expression;
StatementNoShortIf statementnoshortif ;

public WhileStatementNoShortIf( Expression expression, StatementNoShortIf statementnoshortif ){
	this.expression = expression; this.statementnoshortif = statementnoshortif ;
	}


public String toString(){
	StringBuilder stringbuilder = new StringBuilder();
	stringbuilder.append( "while" ).append(" ");
stringbuilder.append( "(" ).append(" ");
stringbuilder.append( this.expression ).append(" ");
stringbuilder.append( ")" ).append(" ");
stringbuilder.append( this.statementnoshortif ).append(" ") ;
	return stringbuilder.toString();
}

}
